package hn.cch.framework.database;

import org.junit.Test;

import java.sql.Connection;
import java.sql.DriverManager;

public class SQLiteDemo {

    @Test
    public void test() throws Exception {
        String className = "org.sqlite.JDBC";
        Class.forName(className);
        Connection connection = DriverManager.getConnection("jdbc:sqlite:sqlite.db");// sqlite.db
        System.out.println(connection);
    }

}
